#if !defined(AFX_COLORCHECKBOX_H__8D5C1FE0_9A53_4247_8CF6_C23C0C829291__INCLUDED_)
#define AFX_COLORCHECKBOX_H__8D5C1FE0_9A53_4247_8CF6_C23C0C829291__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorCheckBox.h : header file
//

#include "ColorCtrl.h"

class CCustomButton : public CXTPButton
{
public:
	CCustomButton();
	//! Set icon to display on button, (must not be shared).
	void SetIcon( HICON hIcon,int nIconAlign=BS_CENTER,bool bDrawText=false );
	void SetIcon( LPCSTR lpszIconResource,int nIconAlign=BS_CENTER,bool bDrawText=false );
	void SetToolTip( const char *tooltipText );
};
typedef CCustomButton CColoredPushButton;

class CColorCheckBox : public CCustomButton
{
public:
	CColorCheckBox() { SetTheme(xtpButtonThemeOffice2003); }
	int	GetCheck() { return GetChecked(); };
	void SetCheck( int nCheck ) { SetChecked(nCheck); };
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLORCHECKBOX_H__8D5C1FE0_9A53_4247_8CF6_C23C0C829291__INCLUDED_)
